<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<div id="content-outer">
	<!-- start content -->
	<div id="content">

		<!--  start page-heading -->
		<div id="page-heading">
			<h2>Please login</h2>
		</div>
		<!-- end page-heading -->

		<table border="0" width="100%" cellpadding="0" cellspacing="0"
			id="content-table">
			<tr>
				<th rowspan="3" class="sized"><img
					src="/resources/images/shared/side_shadowleft.jpg" width="20"
					height="300" alt="" /></th>
				<th class="topleft"></th>
				<td id="tbl-border-top">&nbsp;</td>
				<th class="topright"></th>
				<th rowspan="3" class="sized"><img
					src="/resources/images/shared/side_shadowright.jpg" width="20"
					height="300" alt="" /></th>
			</tr>
			<tr>
				<td id="tbl-border-left"></td>
				<td>
					<!--  start content-table-inner ...................................................................... START -->
					<div id="content-table-inner">

						<!--  start table-content  -->
						<div id="content-outer">
							<c:if test="${not empty error}">
								<div class="errorblock">
									Your login attempt was not successful, try again.<br /> Caused
									: ${sessionScope["SPRING_SECURITY_LAST_EXCEPTION"].message}
								</div>
							</c:if>
							<form name='f' action="<c:url value='j_spring_security_check' />"
								method='POST'>
								<table>
									<tr>
										<td>User:</td>
										<td><input type='text' name='j_username' value=''>
										</td>
									</tr>
									<div class="clear">&nbsp;</div>
									<tr>
										<td>Password:</td>
										<td><input type='password' name='j_password' /></td>
									</tr>
									<tr>
										<td colspan='2'><input name="submit" type="submit"
											value="submit" /></td>
									</tr>
									<tr>
										<td colspan='2'><input name="reset" type="reset" /></td>
									</tr>
								</table>

							</form>
						</div>
						<!--  end table-content  -->

						<div class="clear"></div>

					</div> <!--  end content-table-inner ............................................END  -->
				</td>
				<td id="tbl-border-right"></td>
			</tr>
			<tr>
				<th class="sized bottomleft"></th>
				<td id="tbl-border-bottom">&nbsp;</td>
				<th class="sized bottomright"></th>
			</tr>
		</table>
		<div class="clear">&nbsp;</div>

	</div>
	<!--  end content -->
	<div class="clear">&nbsp;</div>
</div>